<template>
  <div>
    <img :src="img" alt="" />
    <p>{{ name }}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: ['img', 'name',],
}
</script>

<style>
div {
  float: left;
}
div img {
  width: 450px;
  height: 250px;
  border: 5px black solid;
}
div p {
  text-align: center;
}
</style>
